package com.tem.customer.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈辉
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("customer_development")
@ApiModel(value="CustomerDevelopment对象", description="")
public class CustomerDevelopment implements Serializable {
    private static final long serialVersionUID=10945634536787813L;
    @ApiModelProperty(value = "客户拓展")
    @TableId(value = "customer_development_id", type = IdType.AUTO)
    private Long customerDevelopmentId;

    @ApiModelProperty(value = "会员")
    @TableField("customer_id")
    private Long customerId;

    @ApiModelProperty(value = "部门/分店")
    @TableField("sys_branch_office_id")
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "系统")
    @TableField("system_level_id")
    private Long systemLevelId;

    @ApiModelProperty(value = "跟踪人")
    @TableField("do_user_id")
    private Long doUserId;

    @ApiModelProperty(value = "跟踪类型 1上门拜访  2电话沟通  3微信沟通 4聚餐  5外出旅行")
    @TableField("gz_type")
    private Integer gzType;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "1计划  2执行中   3已完成")
    @TableField("do_state")
    private Integer doState;

    @ApiModelProperty(value = "执行结果标签 标题")
    @TableField("do_tags")
    private String doTags;

    @ApiModelProperty(value = "执行总结")
    @TableField("do_msg")
    private String doMsg;

    @ApiModelProperty(value = "执行时间")
    @TableField("do_time")
    private LocalDateTime doTime;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
